Skip to content

Fix(engine): brace-init#21

Merged
adagolodjo merged 1 commit into
SofaDefrost:mainfrom
adagolodjo:fix/findclosepoints-brace-init
Jun 22, 2026
Merged

Fix(engine): brace-init#21
adagolodjo merged 1 commit into
SofaDefrost:mainfrom
adagolodjo:fix/findclosepoints-brace-init

Conversation

@adagolodjo

Copy link
Copy Markdown
Contributor

fix(engine): brace-init for sofa::type::fixed_array<Index,2>" Recent SOFA versions removed the (T, T) constructor of
sofa::type::fixed_array<T, N>; only aggregate brace-initialisation remains valid. Building Shell against current SOFA otherwise fails with: FindClosePoints.inl:62: error: array initializer must be an initializer list. The two new braces are the only change; the semantics, including the build order of the (i, j) pair, are preserved.

fix(engine): brace-init for sofa::type::fixed_array<Index,2>" Recent
SOFA versions removed the (T, T) constructor of
sofa::type::fixed_array<T, N>; only aggregate brace-initialisation
remains valid. Building Shell against current SOFA otherwise fails with:
FindClosePoints.inl:62: error: array initializer must be an initializer
list. The two new braces are the only change; the semantics, including
the build order of the (i, j) pair, are preserved.
@adagolodjo adagolodjo merged commit 38573d1 into SofaDefrost:main Jun 22, 2026
2 of 3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant